package com.sinosoft.bee.services.proposal.service;

import com.sinosoft.bee.services.proposal.entity.proposal.ProposalMain;

import java.util.List;

/**
 * @Author: TrickerL
 * @Description: bee
 * @Date: Create in 15:32 2018/5/16
 * @Modified By:
 */
public interface ProposalMainService {

    /**
     * 向主表新增信息
     * @return
     */
    Integer insertProposalMainInfo(ProposalMain proposalMain);

    /**
     * 删除建议书主表
     * @return
     */
    Integer deleteProposalMain(ProposalMain proposalMain);

    /**
     * 查询所有主表
     * @return
     */
    List<ProposalMain> selectAllMain();

    /**
     * 通过ID修改主表
     * @param proposalMain
     */
    void updateById(ProposalMain proposalMain);

    /**
     * 生成建议书
     */
    void createProposal();


}
